import {
    defineStore
} from 'pinia';
import {
    ref
} from 'vue';


export const goodsCounterStore = defineStore('goods', () => {
    //商品详情
    const goodsStates = ref(false);
    const detailData = ref({});
    //规格详情
    const specsStates = ref(false);
    return {
        goodsStates,
        detailData,
        specsStates
    }
});